//
//  UIView+Extend.h
//  CaoCaoKD
//
//  Created by goofygao on 16/2/25.
//  Copyright © 2016年 goofyy. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (Extend)

@property (nonatomic, assign) CGFloat top;

@property (nonatomic, assign) CGFloat bottom;

@property (nonatomic, assign) CGFloat left;

@property (nonatomic, assign) CGFloat right;

@property (nonatomic, assign) CGFloat width;

@property (nonatomic, assign) CGFloat height;

@property (nonatomic, assign) CGFloat centerX;

@property (nonatomic, assign) CGFloat centerY;

@property (nonatomic, assign) CGSize size;

@property (nonatomic, assign) CGPoint origin;

@property (nonatomic, assign) CGFloat tx;

@property (nonatomic, assign) CGFloat ty;

@property (nonatomic, assign) CGFloat x;

@property (nonatomic, assign) CGFloat y;

@end

@interface UIView (FindViewController)

- (nullable UIViewController *)viewController;

@end
